-- chunk 语句组
ModuleT = {}

local a = 1
local b = 2

local c = 4
local b = 5

local function factriol(a)
    if a == 0 then return 1
    else return a * factriol(a - 1)
    end
end

function ModuleT.runtest()
    local c = factriol(3)
    dialog(c, 2)
end


local function double(a)
    -- 10 是十进制数
    a = tonumber(a, 10)
    a = a * 2
    return a
end

-- a 被频繁使用，又是double 导致，阅读下降，难懂

function ModuleT.run()
    local a = '2'
    local a = double(a)
    dialog(a,2)
end
return ModuleT